/*
 * JSLog.java
 *
 */

package net.kernub.kebcore.client;

import com.google.gwt.core.client.JavaScriptObject;

public class JSLog extends JavaScriptObject
{
	protected JSLog() {}

	public final native int type() /*-{ return this.ty; }-*/;
	public final native String message() /*-{ return this.msg; }-*/;

	// debug information
	public final native boolean hasDebug() /*-{ return (this.fl==null) ? false : true; }-*/;
	public final native String className() /*-{ return this.cl; }-*/;
	public final native String methodName() /*-{ return this.mth; }-*/;
	public final native String fileName() /*-{ return this.fl; }-*/;
	public final native int lineNo() /*-{ return this.li; }-*/;
};
